package com.czk.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author:ChenZhangKun
 * @Date: 2022/1/17 21:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2Vo {
    /**
     * 1 级分类id
     */
    private String catalog1Id;
    /**
     * 三级子分类数据
     */
    private List<Catalog3Vo> catalog3List;
    /**
     * 当前id
     */
    private String id;
    /**
     * 当前名称
     */
    private String name;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3Vo{
        /**
         * 二级分类的id
         */
        private String catalog2id;
        private String id;
        private String name;
    }
}
